package com.arcsoft.commonbase.widgets

import android.view.View
import androidx.recyclerview.widget.RecyclerView

open class RecyclerViewHolder<T>: RecyclerView.ViewHolder {

    constructor(itemView: View):super(itemView)

    open fun onBind(position:Int, data:T) {}

    interface OnItemClickListener<T> {
        fun onClick(data:T)
    }
}